package com.ruoyi.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 双色球投注对象 t_d_ssq_bet
 * 
 * @author lx
 * @date 2022-02-28
 */
public class TDSsqBet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 期号 */
    @Excel(name = "期号")
    private Integer stage;

    /** 红球1 */
    @Excel(name = "红球1")
    private String one;

    /** 红球2 */
    @Excel(name = "红球2")
    private String two;

    /** 红球3 */
    @Excel(name = "红球3")
    private String three;

    /** 红球4 */
    @Excel(name = "红球4")
    private String four;

    /** 红球5 */
    @Excel(name = "红球5")
    private String five;

    /** 红球6 */
    @Excel(name = "红球6")
    private String six;

    /** 蓝球 */
    @Excel(name = "蓝球")
    private String seven;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 获奖 */
    @Excel(name = "获奖")
    private Integer award;

    /** 奖金 */
    @Excel(name = "奖金")
    private Integer winMoney;

    /** 注数 */
    @Excel(name = "注数")
    private Integer bet;

    /** 开奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date openDate;

    private String oneWin;
    private String twoWin;
    private String threeWin;
    private String fourWin;
    private String fiveWin;
    private String sixWin;
    private String sevenWin;

    private String history;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStage(Integer stage) 
    {
        this.stage = stage;
    }

    public Integer getStage() 
    {
        return stage;
    }
    public void setOne(String one) 
    {
        this.one = one;
    }

    public String getOne() 
    {
        return one;
    }
    public void setTwo(String two) 
    {
        this.two = two;
    }

    public String getTwo() 
    {
        return two;
    }
    public void setThree(String three) 
    {
        this.three = three;
    }

    public String getThree() 
    {
        return three;
    }
    public void setFour(String four) 
    {
        this.four = four;
    }

    public String getFour() 
    {
        return four;
    }
    public void setFive(String five) 
    {
        this.five = five;
    }

    public String getFive() 
    {
        return five;
    }
    public void setSix(String six) 
    {
        this.six = six;
    }

    public String getSix() 
    {
        return six;
    }
    public void setSeven(String seven) 
    {
        this.seven = seven;
    }

    public String getSeven() 
    {
        return seven;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setAward(Integer award) 
    {
        this.award = award;
    }

    public Integer getAward() 
    {
        return award;
    }
    public void setWinMoney(Integer winMoney) 
    {
        this.winMoney = winMoney;
    }

    public Integer getWinMoney() 
    {
        return winMoney;
    }
    public void setBet(Integer bet) 
    {
        this.bet = bet;
    }

    public Integer getBet() 
    {
        return bet;
    }

    public void setOpenDate(Date openDate)
    {
        this.openDate = openDate;
    }

    public Date getOpenDate()
    {
        return openDate;
    }

    public String getOneWin() {
        return oneWin;
    }

    public void setOneWin(String oneWin) {
        this.oneWin = oneWin;
    }

    public String getTwoWin() {
        return twoWin;
    }

    public void setTwoWin(String twoWin) {
        this.twoWin = twoWin;
    }

    public String getThreeWin() {
        return threeWin;
    }

    public void setThreeWin(String threeWin) {
        this.threeWin = threeWin;
    }

    public String getFourWin() {
        return fourWin;
    }

    public void setFourWin(String fourWin) {
        this.fourWin = fourWin;
    }

    public String getFiveWin() {
        return fiveWin;
    }

    public void setFiveWin(String fiveWin) {
        this.fiveWin = fiveWin;
    }

    public String getSixWin() {
        return sixWin;
    }

    public void setSixWin(String sixWin) {
        this.sixWin = sixWin;
    }

    public String getSevenWin() {
        return sevenWin;
    }

    public void setSevenWin(String sevenWin) {
        this.sevenWin = sevenWin;
    }

    public String getHistory() {
        return history;
    }

    public void setHistory(String history) {
        this.history = history;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stage", getStage())
            .append("one", getOne())
            .append("two", getTwo())
            .append("three", getThree())
            .append("four", getFour())
            .append("five", getFive())
            .append("six", getSix())
            .append("seven", getSeven())
            .append("state", getState())
            .append("award", getAward())
            .append("winMoney", getWinMoney())
            .append("bet", getBet())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
